package com.lucy.nepu.module.tmaterial.event;

import com.lucy.nepu.module.htopic.entity.HorTopic;
import com.lucy.nepu.module.tmaterial.entity.TMaterial;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.time.Clock;

@Getter
public class TMaterialCreatedEvent extends ApplicationEvent {
    TMaterial tMaterial;
    public TMaterialCreatedEvent(Object source, TMaterial tMaterial) {
        super(source);
        this.tMaterial = tMaterial;
    }

    public TMaterialCreatedEvent(Object source, Clock clock) {
        super(source, clock);
    }

}
